<html>
<head>
	<?php $this->load->view('config/head');?>
</head>
<body>
	<?php $this->load->view('config/awal_body');?>
	
	<h3><?php echo $mode?> saran</h3>
	<a href="<?php echo site_url()?>mg_saran/index" class="btn">List saran</a>
	<br/>
	<br/>
	
	<form method="post" action="<?php echo site_url() ?>mg_saran/<?php echo $action?>" class="form-horizontal">
		<input type="hidden" name="id_saran" value="<?php echo @$detail[0]['id_saran']?>" />
		
		<div class="control-group">
			<label class="control-label" for="nama_saran">Nama</label>
			<div class="controls">
				<input type="text" name="nama_saran" value="<?php echo @$detail[0]['nama_saran']?>" class="span4"></input>
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="email_saran">Email</label>
			<div class="controls">
				<input type="text" name="email_saran" value="<?php echo @$detail[0]['email_saran']?>" class="span5"></input>
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="subjek_saran">Subjek</label>
			<div class="controls">
				<input type="text" name="subjek_saran" value="<?php echo @$detail[0]['subjek_saran']?>" class="span6"></input>
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="pesan_saran">Pesan</label>
			<div class="controls">
				<textarea name="pesan_saran"  class="ckeditor" class="span7" rows="5"><?php echo @$detail[0]['pesan_saran']?></textarea>
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="button">&nbsp;</label>
			<div class="controls">
				<input type="submit" name="submit" value="Save" class="btn btn-primary" />
				<input type="reset" value="Reset" class="btn" />
			</div>
		</div>
	</form>
	
	<?php $this->load->view('config/akhir_body');?>
</body>
</html>

